xen/arm: p2m: Pass the p2m in parameter rather the domain when it is possible
authorJulien Grall <julien.grall@arm.com>
Thu, 28 Jul 2016 14:20:20 +0000 (15:20 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 29 Jul 2016 00:42:58 +0000 (17:42 -0700)
commit6a9b2b6f76c40bfe5f8d645d9a8f6e7db4f93be8
treea0750cd6a94115372dc482c6a20025284c2f079a
parent87f34de92a4601223e9fc028642c1b1b2363a972
xen/arm: p2m: Pass the p2m in parameter rather the domain when it is possible

Some p2m functions do not care about the domain except to get the
associate p2m.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c